﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FieldTools.Client.Business.IBusiness
{
    /// <summary>
    /// 自定义api接口
    /// </summary>
    public interface ICustomApiBus
    {
        /// <summary>
        /// get
        /// </summary>
        /// <param name="path"></param>
        /// <returns></returns>
        public string? Get(string path);
        /// <summary>
        /// post
        /// </summary>
        /// <param name="path"></param>
        /// <param name="parm"></param>
        /// <returns></returns>
        public string? Post(string path, object parm);
    }
}
